
/* 页面回车自动提交 */
document.onkeydown = function (e) {
	var theEvent = window.event || e;
	var code = theEvent.keyCode || theEvent.which;
	if (code == 13) {
		document.login.action = "/system/user/login/getLogin.do";
		document.login.submit();
	}
};

$(document).ready(function(){
	$("#loginButton").click(function(){
		document.login.action = "/system/user/login/getLogin.do";
		document.login.submit();
	});
});





